#ifndef MYBUTTON_H
#define MYBUTTON_H

#include <QPushButton>
#include <QMouseEvent>


class MyButton : public QPushButton
{
    Q_OBJECT
public:
    explicit MyButton(QWidget *parent = nullptr);

protected:
    // 重写父类的 mousePressEvent
    void mousePressEvent(QMouseEvent *ev);

signals:

};

#endif // MYBUTTON_H
